package br.cin.ufpe.corba.namingservice;

import br.cin.ufpe.corba.ORB;
import br.cin.ufpe.corba.Servant;
import br.cin.ufpe.corba.interfacerepository.InterfaceDef;

public abstract class NamingContextPOA extends Servant implements NamingContextExt {
		
	public NamingContextPOA(ORB orb) {
		super(orb);
	}

	public InterfaceDef getInterfaceDef() {
		InterfaceDef def = new InterfaceDef(NamingContextExt.class.getCanonicalName());
		def.getBaseInterfaces().add(NamingContext.class.getCanonicalName());
		return def;
	}
	
}
